package com.etung.iot.demo.constant;

public class CommonConstant {
    /** {@code 500 Server Error} (HTTP/1.0 - RFC 1945) */
    public static final Integer SC_INTERNAL_SERVER_ERROR_500 = 500;
    /** {@code 200 OK} (HTTP/1.0 - RFC 1945) */
    public static final Integer SC_OK_200 = 200;
    public static final Integer SC_AUTH_FAILED = 401;

    public static final Integer CONNECTED = 1;
    public static final Integer DISCONNECTED = 0;

    public static final Integer GOOD = 1;
    public static final Integer  BAD = 0;

    public static final String AUTH_TOKEN_STRING = "X-Access-Token";

    public static final String COIL = "线圈状态";
    public static final String DISCRETE = "离散状态";
    public static final String THR = "保持寄存器";
    public static final String IR = "输入寄存器";

    public static final String REAL_DATA_CACHE_PREFIX = "real_data:";
}
